package com.easy.west.westclient.api.department.bean;

import java.util.List;

/**
 * 所有部门实体
 * Created by xiatao on 2018/8/29.
 */

public class AllDepartMentBean {

    /**
     * status : 1
     * type : 1040
     * data : [{"did":2,"fid":1,"name":"公司机关","des":null,"created_time":"2017/12/8 18:24:54","rank":20,"departmentDTOS":[{"did":3,"fid":2,"name":"公司领导","des":null,"created_time":"2017/12/8 18:24:54","rank":30},{"did":4,"fid":2,"name":"专家、助理、副总师","des":null,"created_time":"2017/12/8 18:24:54","rank":40},{"did":5,"fid":2,"name":"办公室（党委办公室）","des":null,"created_time":"2017/12/8 18:24:54","rank":50},{"did":6,"fid":2,"name":"规划计划处","des":null,"created_time":"2017/12/8 18:24:54","rank":60},{"did":7,"fid":2,"name":"财务处","des":null,"created_time":"2017/12/8 18:24:54","rank":70},{"did":8,"fid":2,"name":"人事处（党委组织部）","des":null,"created_time":"2017/12/8 18:24:54","rank":80},{"did":67,"fid":2,"name":"测试2","des":null,"created_time":"2018-08-27 17:45","rank":111}]},{"did":36,"fid":1,"name":"川中油气矿","des":null,"created_time":"2017/12/8 18:24:54","rank":360,"departmentDTOS":[{"did":37,"fid":36,"name":"领导","des":null,"created_time":"2017/12/8 18:24:54","rank":370},{"did":38,"fid":36,"name":"副总师","des":null,"created_time":"2017/12/8 18:24:54","rank":380},{"did":39,"fid":36,"name":"办公室（党委办公室）","des":null,"created_time":"2017/12/8 18:24:54","rank":390},{"did":40,"fid":36,"name":"规划计划科","des":null,"created_time":"2017/12/8 18:24:54","rank":400},{"did":41,"fid":36,"name":"财务科","des":null,"created_time":"2017/12/8 18:24:54","rank":410},{"did":42,"fid":36,"name":"人事科（党委组织部）","des":null,"created_time":"2017/12/8 18:24:54","rank":420}]}]
     */

    private int status;
    private int type;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * did : 2
         * fid : 1
         * name : 公司机关
         * des : null
         * created_time : 2017/12/8 18:24:54
         * rank : 20
         * departmentDTOS : [{"did":3,"fid":2,"name":"公司领导","des":null,"created_time":"2017/12/8 18:24:54","rank":30},{"did":4,"fid":2,"name":"专家、助理、副总师","des":null,"created_time":"2017/12/8 18:24:54","rank":40},{"did":5,"fid":2,"name":"办公室（党委办公室）","des":null,"created_time":"2017/12/8 18:24:54","rank":50},{"did":6,"fid":2,"name":"规划计划处","des":null,"created_time":"2017/12/8 18:24:54","rank":60},{"did":7,"fid":2,"name":"财务处","des":null,"created_time":"2017/12/8 18:24:54","rank":70},{"did":8,"fid":2,"name":"人事处（党委组织部）","des":null,"created_time":"2017/12/8 18:24:54","rank":80},{"did":67,"fid":2,"name":"测试2","des":null,"created_time":"2018-08-27 17:45","rank":111}]
         */

        private int did;
        private int fid;
        private String name;
        private Object des;
        private String created_time;
        private int rank;
        private List<DepartmentDTOSBean> departmentDTOS;

        public int getDid() {
            return did;
        }

        public void setDid(int did) {
            this.did = did;
        }

        public int getFid() {
            return fid;
        }

        public void setFid(int fid) {
            this.fid = fid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getDes() {
            return des;
        }

        public void setDes(Object des) {
            this.des = des;
        }

        public String getCreated_time() {
            return created_time;
        }

        public void setCreated_time(String created_time) {
            this.created_time = created_time;
        }

        public int getRank() {
            return rank;
        }

        public void setRank(int rank) {
            this.rank = rank;
        }

        public List<DepartmentDTOSBean> getDepartmentDTOS() {
            return departmentDTOS;
        }

        public void setDepartmentDTOS(List<DepartmentDTOSBean> departmentDTOS) {
            this.departmentDTOS = departmentDTOS;
        }

        public static class DepartmentDTOSBean {
            /**
             * did : 3
             * fid : 2
             * name : 公司领导
             * des : null
             * created_time : 2017/12/8 18:24:54
             * rank : 30
             */

            private int did;
            private int fid;
            private String name;
            private Object des;
            private String created_time;
            private int rank;

            public int getDid() {
                return did;
            }

            public void setDid(int did) {
                this.did = did;
            }

            public int getFid() {
                return fid;
            }

            public void setFid(int fid) {
                this.fid = fid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Object getDes() {
                return des;
            }

            public void setDes(Object des) {
                this.des = des;
            }

            public String getCreated_time() {
                return created_time;
            }

            public void setCreated_time(String created_time) {
                this.created_time = created_time;
            }

            public int getRank() {
                return rank;
            }

            public void setRank(int rank) {
                this.rank = rank;
            }
        }
    }
}
